package com.xywl.escort.view.bandcard;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.BandCardListResp;
import com.xywl.escort.bean.BaseResp;

public interface BandCardListContract {

    interface Presenter extends BasePresenter {
        void takeView(BandCardListContract.View view);

        void getBandCardList();

        void isSetPayPwd(String userId);

        void updateUserBankCardDefStatus(String id, int defType, int status);
    }

    interface View extends BaseView<Presenter> {
        void getBandCardListSuccess(BandCardListResp.DataBean dataBean);

        void getBandCardListFailure();

        void hasSetPayPwd();

        void noSetPayPwd();

        void findIsFitPayPwdFailure(String msg);

        void updateUserBankCardDefStatusSuccess(BaseResp resp);

        void updateUserBankCardDefStatusFailure(String msg);
    }
}